package com.atguigu.yygh.hosp.client;

import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("service-hosp")
@RequestMapping("/api/hosp")
public interface ScheduleFeignClient {
    //订单模块查询排班信息
    @GetMapping("/schedule/getScheduleOrderVo")
    public ScheduleOrderVo getScheduleOrderVo(@RequestParam("scheduleId") String scheduleId);
}
